<%-- 
    Document   : acceptFriend
    Created on : Jul 13, 2011, 4:52:36 PM
    Author     : northpole
--%>

<%@page import="user.User"  contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>.....</title>
        
        <%
        User userInfo=(User)session.getAttribute("userInfo");
         if(request.getAttribute("username")!=null){
         userInfo.addFriend(request.getAttribute("username").toString());
                 }
          String redirectURL = "manageFriends.jsp";
    response.sendRedirect(redirectURL);
         %>
    </head>
    <body>
    </body>
</html>
